# sort sorted reverse
arr = [0, 19, 3, 5, 9, 4, 7, 1]
arr.reverse()  # reverse 逆置list
print("arr :", arr)
arr1 = sorted(arr)  # sorted不会改变原list的值
print("arr :", arr)
print("arr1:", arr1)
arr.sort()  # sort原地排序
print("arr :", arr)

arr = [0, 19, 3, 5, 9, 4, 7, 1]
arr.sort(reverse=True)  # 降序
print("arr :", arr)

